<?php
require_once '../../global.inc.php';

//SESSION中取出会员资料信息
$templateInfo		= $_SESSION["templateInfo"];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../js/utils.js"></script>
<script type="text/javascript" src="js/checkForm.js"></script>
<script type="text/javascript" src="js/template.js"></script>
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.input1 {
	width:100%;
}
textarea {
	width:100%;
	resize:none;
	font-size: 12px;
}
div{margin:0 10px}
.STYLE1  {color: #e1e2e3; font-size: 12px;}
.STYLE6  {color: #000000; font-size: 12px;}
.STYLE10 {color: #000000; font-size: 12px;}
.STYLE19 {color: #344b50; font-size: 12px;}
.STYLE21 {color: #3b6375; font-size: 12px;}
.STYLE22 {color: #295568; font-size: 12px;}

-->
</style>
</head>

<body>
<div align="center"><h3>活动模板维护</h3></div>
<form action="../../action/templateAction.php?op=edit&id=<?php echo $templateInfo['activity_id']?>" method="post"  onsubmit="return checkTemplate()">
<table align="center" width="70%" border="0" cellpadding="3" cellspacing="1" bgcolor="#a8c7ce">
	<tr>
		<td width="15%" bgcolor="d3eaef" class="STYLE6"><div align="left"><span class="STYLE10">模板名称：</span></div></td>
		<td bgcolor="#FFFFFF" class="STYLE6"><div align="center"><input   class="input1" type="text" id = "subject" name="subject" value="<?php echo $templateInfo['subject']?>"/></div></td>
	</tr>
	<tr>
		<td width="15%" bgcolor="d3eaef" class="STYLE6"><div align="left"><span class="STYLE10">模板内容：</span></div></td>
		<td bgcolor="#FFFFFF" class="STYLE6"><div align="center"><textarea   name="travel" id="travel"  rows="20"><?php echo $templateInfo['travel']?>"/></textarea></div></td>
	</tr>
	<tr>
		<td width="15%" bgcolor="d3eaef" class="STYLE6"><div align="left"><span class="STYLE10">预估费用：</span></div></td>
		<td bgcolor="#FFFFFF" class="STYLE6"><div align="center"><input  class="input1" type="text" id = "fee" name="fee" value="<?php echo $templateInfo['fee']?>"/></div></td>
	</tr>

	<tr bgcolor="#FFFFFF">
		
    	<td colspan="2"><div align="center">
	    	<input type="button" id = "button" name="button" value="附件管理" onclick='upload()'/>&nbsp;
	    	<input type="submit" id = "submit" name="submit" value="修改" />
    	</div></td>
    </tr>
</table>
</form>
</body>
</html>
